<template>
    <div class="style: height: 100%;">
        <div id="luckysheet"
            style="margin:0px;padding:0px;position:absolute;width:100%;height:calc(100% - 140px);left: 0px;top: 55px;bottom:85px;">
        </div>
    </div>
</template>
<script>
import sheetData from './js/sheetConfig.js'
export default {
    name: '',
    data() {
        return {
            options: {}
        }
    },
    created() {
        this.options = sheetData.configData
    },
    mounted() {
        console.log('data', this.options)
        let options = {
            container: 'luckysheet', // 设定DOM容器的id
    title: 'Luckysheet Demo', // 设定表格名称
    lang: 'zh' // 设定表格语言
        }
        luckysheet.create(this.options)
    },
    methods: {
        getData() {
            console.log('data-------', luckysheet.getAllSheets())

        }
    }
}
</script>
<style lang="scss" scoped></style>